package com.cmsz.collection.bean;

import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.io.Serializable;

/**
 * @author panyaoan
 * @date 2019/12/13
 * @description logbean实体类
 */
public class LogBean implements Serializable {

    private static final long serialVersionUID = 1L;

    private String transId;
    private String message;
    private String hostIp;
    private String timestamp;
    private String fileType;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getTransId() {
        return transId;
    }

    public void setTransId(String transId) {
        this.transId = transId;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getHostIp() {
        return hostIp;
    }

    public void setHostIp(String hostIp) {
        this.hostIp = hostIp;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    @Override
    public String toString() {
        return "LogBean{" +
                ", transId='" + transId + '\'' +
                ", message='" + message + '\'' +
                ", hostIp='" + hostIp + '\'' +
                ", timestamp='" + timestamp + '\'' +
                ", fileType='" + fileType + '\'' +
                '}';
    }
}
